<?php
session_start();
error_reporting(0);
include('../inc/ff6.config.php'); 
include('../inc/global.php');
require_once "./db.php";

define('SYSPATH',$ff6['path']);
$rep='foot';
$db = new Db();
$post = $_SESSION['post'];
$data = $db->isSuccess($post);
if($_SESSION['token']!==$data['token']){
	header("location: ./login.php");
	exit;
}
?>